gsk/vulkan: Use default blend factors
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Wed, 5 Apr 2023 14:49:26 +0000 (11:49 -0300)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Sat, 8 Apr 2023 23:13:13 +0000 (20:13 -0300)
commit48129298f00bf2f05f4b69627fa6cc8ee65cdb0f
tree719b4d6810d13574019d6498a71ba74e37981f0b
parentc77c8d6309fe67e76b3a93e2014f538fbd8d585c
gsk/vulkan: Use default blend factors

Vulkan renders text using VK_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA and
VK_BLEND_FACTOR_SRC_ALPHA, but that implies per-channel alpha
blending, which currently produces the wrong results when blending
glyphs with the images beneath them.

Use the default pipeline constructors, which implies using the
ONE and ONE_MINUS_SRC_ALPHA.
gsk/vulkan/gskvulkancolortextpipeline.c
gsk/vulkan/gskvulkantextpipeline.c